package com.qfedu.lc.user.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 2.用户日志表
 * </p>
 *
 * @author wgz
 * @since 2024-01-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("user_log")
public class Log implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer userId;

    private String type;

    private String ip;

    private String info;

    private String mobile;

    private Date ctime;


    public Log() {
    }

    public Log(Integer userId, String type, String ip, String info, String mobile, Date ctime) {
        this.userId = userId;
        this.type = type;
        this.ip = ip;
        this.info = info;
        this.mobile = mobile;
        this.ctime = ctime;
    }
}
